package com.qianli.cashmama.trade.client.offer.response;


import com.qianli.cashmama.trade.client.vo.OfferVO;
import com.qianli.cashmama.trade.common.enums.TradeBorrowDurationEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/31
 * Time: 上午10:58
 */
public class OfferResponse implements Serializable {

    private String productCategory;

    private String productCode;

    private String borrowTotalCapital;

    private String receivedTotalCapital;

    private String totalServiceFee;

    private String totalInterestFee;

    private int totalPeriods;

    private String periodRepaymentCapital;

    private TradeBorrowDurationEnum borrowDurationEnum;

    private int periodLength;

    /**
     * GST 税费
     */
    private String gstCharge;

    /**
     * 借款利率(年利率)
     */
    private BigDecimal borrowRatio;

    private List<OfferVO> offerList = new ArrayList<>();

    public String getPeriodRepaymentCapital() {
        return periodRepaymentCapital;
    }

    public OfferResponse setPeriodRepaymentCapital(String periodRepaymentCapital) {
        this.periodRepaymentCapital = periodRepaymentCapital;
        return this;
    }

    public TradeBorrowDurationEnum getBorrowDurationEnum() {
        return borrowDurationEnum;
    }

    public OfferResponse setBorrowDurationEnum(TradeBorrowDurationEnum borrowDurationEnum) {
        this.borrowDurationEnum = borrowDurationEnum;
        return this;
    }

    public int getPeriodLength() {
        return periodLength;
    }

    public OfferResponse setPeriodLength(int periodLength) {
        this.periodLength = periodLength;
        return this;
    }

    public List<OfferVO> getOfferList() {
        return offerList;
    }

    public OfferResponse setOfferList(List<OfferVO> offerList) {
        this.offerList = offerList;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public OfferResponse setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public OfferResponse setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public String getBorrowTotalCapital() {
        return borrowTotalCapital;
    }

    public OfferResponse setBorrowTotalCapital(String borrowTotalCapital) {
        this.borrowTotalCapital = borrowTotalCapital;
        return this;
    }

    public String getReceivedTotalCapital() {
        return receivedTotalCapital;
    }

    public OfferResponse setReceivedTotalCapital(String receivedTotalCapital) {
        this.receivedTotalCapital = receivedTotalCapital;
        return this;
    }

    public String getTotalServiceFee() {
        return totalServiceFee;
    }

    public OfferResponse setTotalServiceFee(String totalServiceFee) {
        this.totalServiceFee = totalServiceFee;
        return this;
    }

    public String getTotalInterestFee() {
        return totalInterestFee;
    }

    public OfferResponse setTotalInterestFee(String totalInterestFee) {
        this.totalInterestFee = totalInterestFee;
        return this;
    }

    public int getTotalPeriods() {
        return totalPeriods;
    }

    public OfferResponse setTotalPeriods(int totalPeriods) {
        this.totalPeriods = totalPeriods;
        return this;
    }

    public String getGstCharge() {
        return gstCharge;
    }

    public OfferResponse setGstCharge(String gstCharge) {
        this.gstCharge = gstCharge;
        return this;
    }

    public BigDecimal getBorrowRatio() {
        return borrowRatio;
    }

    public OfferResponse setBorrowRatio(BigDecimal borrowRatio) {
        this.borrowRatio = borrowRatio;
        return this;
    }
}
